<template>
	<view v-if="loading">
		<web-view :src="url" style="width: 100vw;height: 100vh;"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				loading: false,
				url: ''
			}
		},
		onLoad(options) {
			if (options && options.url) {
				this.url = decodeURIComponent(options.url);
				this.loading = true;
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>